<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>首页--layui后台管理模板</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">

	<link rel="stylesheet" href="__STATIC__/layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="__CSS__/main.css" media="all" />
</head>
<body class="childrenBody" style="margin-top: 10px;">
	<div class="panel_box row" style="margin: 0px;">
		<div class="panel col">
			<a href="{:url('admin/comment/index')}" data-url="">
				<div class="panel_icon">
					<i class="layui-icon" data-icon="&#xe63a;">&#xe63a;</i>
				</div>
				<div class="panel_word newMessage">
					<span>{$count_comment}</span>
					<cite>新增评论</cite>
				</div>
			</a>
		</div>
		<div class="panel col">
			<a href="{:url('admin/message/index')}" data-url="">
				<div class="panel_icon" style="background-color:#FF5722;">
					<i class="layui-icon" data-icon="&#xe63c;">&#xe63c;</i>
				</div>
				<div class="panel_word userAll">
					<span>{$count_message}</span>
					<cite>新增留言</cite>
				</div>
			</a>
		</div>

		<div class="panel col">
			<a href="{:url('admin/note/index')}" data-url="">
				<div class="panel_icon" style="background-color:#5FB878;">
					<i class="layui-icon" data-icon="&#xe642;">&#xe642;</i>
				</div>
				<div class="panel_word imgAll">
					<span>{$count_note}</span>
					<cite>记事本</cite>
				</div>
			</a>
		</div>
		<div class="panel col">
			<a href="{:url('admin/user/index')}" data-url="">
				<div class="panel_icon" style="background-color:#F7B824;">
					<i class="layui-icon" data-icon="&#xe612;">&#xe612;</i>
				</div>
				<div class="panel_word waitNews">
					<span>{$count_user}</span>
					<cite>管理员</cite>
				</div>
			</a>
		</div>
		<div class="panel col">
			<a href="{:url('admin/member/index')}" data-url="">
				<div class="panel_icon" style="background-color:#009688;">
					<i class="layui-icon" data-icon="&#xe613;">&#xe613;</i>
				</div>
				<div class="panel_word userAll">
					<span>{$count_member}</span>
					<cite>用户总数</cite>
				</div>
			</a>
		</div>		
		<div class="panel col max_panel">
			<a href="{:url('admin/news/index')}" data-url="">
				<div class="panel_icon" style="background-color:#2F4056;">
					<i class="layui-icon" data-icon="&#xe705;">&#xe705;</i>
				</div>
				<div class="panel_word allNews">
					<span>{$count_news}</span>
					<em>文章总数</em>
				</div>
			</a>
		</div>
	</div>
	<div class="row" style="margin: 0px;">
		<div class="sysNotice col">

			<blockquote class="layui-elem-quote title">最新文章<i class="iconfont icon-new1"></i></blockquote>
			<table class="layui-table" lay-skin="line">
				<colgroup>
					<col>
					<col width="110">
				</colgroup>
				<tbody class="hot_news">
						{volist name="newslist" id="vo"}
						<tr>
							<td><a href="{:url('index/news/info',['news_id' => $vo['news_id']])}" target="_blank">{$vo.title}</a></td>
						</tr>
						{/volist}
				</tbody>
			</table> 

			<blockquote class="layui-elem-quote title">系统基本参数</blockquote>
			<table class="layui-table">
				<colgroup>
					<col width="150">
					<col>
				</colgroup>
				<tbody>
					<tr>
						<td>当前版本</td>
						<td class="version">Alinejun v2.4.2</td>
					</tr>
					<tr>
						<td>开发作者</td>
						<td class="author">Alinejun</td>
					</tr>
					<tr>
						<td>网站首页</td>
						<td class="homePage">/index/index/index</td>
					</tr>
					<tr>
						<td>服务器环境</td>
						<td class="server">Linux+Nginx+Mysql+php</td>
					</tr>
					<tr>
						<td>数据库版本</td>
						<td class="dataBase">Mysql 5.7</td>
					</tr>
					<tr>
						<td>最大上传限制</td>
						<td class="maxUpload">2.0M</td>
					</tr>
					<tr>
						<td>当前用户权限</td>
						<td class="userRights">All</td>
					</tr>
				</tbody>
			</table>			
		</div>
	</div>

	<script type="text/javascript" src="__STATIC__/layui/layui.js"></script>
	<script type="text/javascript" src="__JS__/main.js"></script>
</body>
</html>